package com.xiechuang.entity;

import lombok.Data;

import javax.xml.bind.annotation.*;

/**
 * @Description: UserEntity
 * @Author: xiechuang
 * @Date: 2022/6/27
 */
@Data
@XmlRootElement(name = "user")
@XmlAccessorType(XmlAccessType.FIELD)
public class UserEntity {

    /**
     * 用户名
     */
    @XmlElement(name = "username")
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 地址
     */
    @XmlTransient
    private String address;

}
